package cn.wgx.modules.sys.entity.mapper;

import cn.wgx.modules.sys.entity.SysUser;
import cn.wgx.modules.sys.entity.SysUserExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserMapper {

    /**
     * @mbg.generated Wed Feb 19 04:56:17 CST 2020
     */
    int insert(SysUser record);

    /**
     * @mbg.generated Wed Feb 19 04:56:17 CST 2020
     */
    int updateByExampleSelective(@Param("record") SysUser record, @Param("example") SysUserExample example);

    /**
     * @mbg.generated Wed Feb 19 04:56:17 CST 2020
     */
    int updateByPrimaryKeySelective(SysUser record);

    /**
     * @mbg.generated Wed Feb 19 04:56:17 CST 2020
     */
    int deleteByPrimaryKey(Integer user_id);

    /**
     * @mbg.generated Wed Feb 19 04:56:17 CST 2020
     */
    List<SysUser> selectByExample(SysUserExample example);

    /**
     * @mbg.generated Wed Feb 19 04:56:17 CST 2020
     */
    int updateByPrimaryKey(SysUser record);

    /**
     * @mbg.generated Wed Feb 19 04:56:17 CST 2020
     */
    int updateByExample(@Param("record") SysUser record, @Param("example") SysUserExample example);

    /**
     * @mbg.generated Wed Feb 19 04:56:17 CST 2020
     */
    int deleteByExample(SysUserExample example);

    /**
     * @mbg.generated Wed Feb 19 04:56:17 CST 2020
     */
    SysUser selectByPrimaryKey(Integer user_id);

    /**
     * @mbg.generated Wed Feb 19 04:56:17 CST 2020
     */
    long countByExample(SysUserExample example);

    /**
     * @mbg.generated Wed Feb 19 04:56:17 CST 2020
     */
    int insertSelective(SysUser record);
}
